Skip to content

Conversation

@leafgarland
Copy link
Owner

Update the indent script to use the indent script from pangloss/vim-javascript.

The indent script from pangloss/vim-javascript should work fine
for most of our requirements.

fix #97, fix #101, fix #103, fix #105
We don't want to clash with the javascript plugin, so change them to
use typescript names.
When loading the indent script, check to see if we should not bother.

fix #104
The indent script is almost entirely their work. Also describe
how to set indentkeys and disable indentation for .foo() lines.
@leafgarland leafgarland force-pushed the use-javascript-indent branch from 9adf4fe to d539ff4 Compare February 14, 2017 09:36
@leafgarland
Copy link
Owner Author

@RavenCrow @JamieChoi @CodeOneTwo

Take a look at this PR, let me know if it works for you. Thanks!

@JuanLucha
Copy link

I copied the content of the indentation file on this pr to my typescript.vim/indent/typescript.vim file and it works like a charm!

@leafgarland
Copy link
Owner Author

Good to know. Will merge tomorrow. Thanks for testing.

@leafgarland leafgarland merged commit 48f9203 into master Mar 2, 2017
@leafgarland leafgarland deleted the use-javascript-indent branch March 2, 2017 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants